package com.oa.model;


/**
 * @hibernate.class table="user"
 * @author jyan1
 *
 */
public class User {

    private int id;
    private String lastName;
    private String firstName;
    
    /**
     * @hibernate.property not-null="true"
     */
    public String getFirstName() {
        return firstName;
    }

    public void setFirstName(String firstName) {
        this.firstName = firstName;
    }
    
    /**
     * @hibernate.property not-null="true"
     */
    public String getLastName() {
        return lastName;
    }

    public void setLastName(String lastName) {
        this.lastName = lastName;
    }
    
    /**
	 * @hibernate.id generator-class="native"
	 */
    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }
}

